package com.example.demo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import lombok.Data;

/**
 * 类目
 */
@Entity
@Table(name = "im_category")
@Data
public class ImCategory implements Serializable {
  private static final long serialVersionUID = 1L;

  @Id
  @Column(name = "id")
  private Integer id;

  @Column(name = "name")
  private String name;

  @Column(name = "foreignname")
  private String foreignname;

  @Column(name = "description")
  private String description;

  @Column(name = "category_type")
  private String categoryType;

  @Column(name = "hierarchy_id")
  private Integer hierarchyId;

  @Column(name = "parent_id")
  private Integer parentId;

  
}